package javase.implements_abstract_extend_clone;

class OrderTest {
    public static void main(String[] args) {
        PersonalOrder personalOrder = new PersonalOrder(101,"张三",8000.0,2500);
        OrderSystem.OrderCreation(personalOrder);
        for (int i = 0; i < OrderSystem.arrayList.size(); i++) {
            System.out.println(OrderSystem.arrayList.get(i));
        }
//        OrderSystem.arrayList.forEach(s -> System.out.println(s));
    }
}
